import layout from '@/layout/index'

const vaccineRouter = [
  {
    path: '/vaccine',
    component: layout,
    isParent: true,
    redirect: '/vaccine/list',
    meta: {
      title: '疫苗管理',
      icon: 'calendar'
    },
    children: [
      {
        path: '/vaccine/list',
        component: () => import('@/views/single/vaccine/list/index'),
        meta: {
          title: '疫苗管理',
          icon: 'sign-manage'
        }
      }
    ]
  },
  {
    name: '疫苗登记',
    path: '/vaccine/create',
    component: () => import('@/views/single/vaccine/form/index'),
    meta: {
      title: '疫苗登记'
    }
  }
]

export default vaccineRouter
